package vo

type OrderReq struct {
	InstrumentID uint   `json:"instrument_id" binding:"required"`
	Num          uint   `json:"num" binding:"required"`
	UserID       uint   `json:"user_id" binding:"required"`
	TransportWay string `json:"transport_way" binding:"required"`
}

type ListOrderReq struct {
	PageNum  int    `json:"page_num"`
	PageSize int    `json:"page_size"`
	OrderNo  string `json:"order_no"`
}

type ListOrderResp struct {
	OrderNo        string `json:"Order_no"`
	InstrumentID   uint   `json:"instrument_id"`
	InstrumentName string `json:"instrument_name"`
	Num            uint   `json:"num"`
	Status         string `json:"status"`
	InstrumentImg  string `json:"goods_img"`
	UserID         uint   `json:"user_id"`
	UserName       string `json:"user_name"`
	TransportWay   string `json:"transport_way"`
	CreatedAt      string `json:"created_at"`
}
